package com.have.blog.model.models;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class TSystemConfig implements Serializable {
    @ApiModelProperty(value = "主键")
    private String uid;

    @ApiModelProperty(value = "七牛云公钥")
    private String qiNiuAccessKey;

    @ApiModelProperty(value = "七牛云私钥")
    private String qiNiuSecretKey;

    @ApiModelProperty(value = "邮箱账号")
    private String email;

    @ApiModelProperty(value = "邮箱发件人用户名")
    private String emailUserName;

    @ApiModelProperty(value = "邮箱密码")
    private String emailPassword;

    @ApiModelProperty(value = "SMTP地址")
    private String smtpAddress;

    @ApiModelProperty(value = "SMTP端口")
    private String smtpPort;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "七牛云上传空间")
    private String qiNiuBucket;

    @ApiModelProperty(value = "七牛云存储区域 华东（z0），华北(z1)，华南(z2)，北美(na0)，东南亚(as0)")
    private String qiNiuArea;

    @ApiModelProperty(value = "图片是否上传七牛云 (0:否， 1：是)")
    private String uploadQiNiu;

    @ApiModelProperty(value = "图片是否上传本地存储 (0:否， 1：是)")
    private String uploadLocal;

    @ApiModelProperty(value = "图片显示优先级（ 1 展示 七牛云,  0 本地）")
    private String picturePriority;

    @ApiModelProperty(value = "七牛云域名前缀：http://images.moguit.cn")
    private String qiNiuPictureBaseUrl;

    @ApiModelProperty(value = "本地服务器域名前缀：http://localhost:8600")
    private String localPictureBaseUrl;

    @ApiModelProperty(value = "是否开启邮件通知(0:否， 1:是)")
    private String startEmailNotification;

    @ApiModelProperty(value = "编辑器模式，(0：富文本编辑器CKEditor，1：markdown编辑器Veditor)")
    private Integer editorModel;

    @ApiModelProperty(value = "主题颜色")
    private String themeColor;

    @ApiModelProperty(value = "Minio远程连接地址")
    private String minioEndPoint;

    @ApiModelProperty(value = "Minio公钥")
    private String minioAccessKey;

    @ApiModelProperty(value = "Minio私钥")
    private String minioSecretKey;

    @ApiModelProperty(value = "Minio桶")
    private String minioBucket;

    @ApiModelProperty(value = "图片是否上传Minio (0:否， 1：是)")
    private Integer uploadMinio;

    @ApiModelProperty(value = "Minio服务器文件域名前缀")
    private String minioPictureBaseUrl;

    @ApiModelProperty(value = "是否开启仪表盘通知(0:否， 1:是)")
    private Integer openDashboardNotification;

    @ApiModelProperty(value = "博客详情图片显示优先级（ 0:本地  1: 七牛云 2: Minio）")
    private Integer contentPicturePriority;

    @ApiModelProperty(value = "是否开启用户邮件激活功能【0 关闭，1 开启】")
    private Integer openEmailActivate;

    @ApiModelProperty(value = "仪表盘通知【用于首次登录弹框】")
    private String dashboardNotification;

    private static final long serialVersionUID = 1L;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getQiNiuAccessKey() {
        return qiNiuAccessKey;
    }

    public void setQiNiuAccessKey(String qiNiuAccessKey) {
        this.qiNiuAccessKey = qiNiuAccessKey;
    }

    public String getQiNiuSecretKey() {
        return qiNiuSecretKey;
    }

    public void setQiNiuSecretKey(String qiNiuSecretKey) {
        this.qiNiuSecretKey = qiNiuSecretKey;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmailUserName() {
        return emailUserName;
    }

    public void setEmailUserName(String emailUserName) {
        this.emailUserName = emailUserName;
    }

    public String getEmailPassword() {
        return emailPassword;
    }

    public void setEmailPassword(String emailPassword) {
        this.emailPassword = emailPassword;
    }

    public String getSmtpAddress() {
        return smtpAddress;
    }

    public void setSmtpAddress(String smtpAddress) {
        this.smtpAddress = smtpAddress;
    }

    public String getSmtpPort() {
        return smtpPort;
    }

    public void setSmtpPort(String smtpPort) {
        this.smtpPort = smtpPort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getQiNiuBucket() {
        return qiNiuBucket;
    }

    public void setQiNiuBucket(String qiNiuBucket) {
        this.qiNiuBucket = qiNiuBucket;
    }

    public String getQiNiuArea() {
        return qiNiuArea;
    }

    public void setQiNiuArea(String qiNiuArea) {
        this.qiNiuArea = qiNiuArea;
    }

    public String getUploadQiNiu() {
        return uploadQiNiu;
    }

    public void setUploadQiNiu(String uploadQiNiu) {
        this.uploadQiNiu = uploadQiNiu;
    }

    public String getUploadLocal() {
        return uploadLocal;
    }

    public void setUploadLocal(String uploadLocal) {
        this.uploadLocal = uploadLocal;
    }

    public String getPicturePriority() {
        return picturePriority;
    }

    public void setPicturePriority(String picturePriority) {
        this.picturePriority = picturePriority;
    }

    public String getQiNiuPictureBaseUrl() {
        return qiNiuPictureBaseUrl;
    }

    public void setQiNiuPictureBaseUrl(String qiNiuPictureBaseUrl) {
        this.qiNiuPictureBaseUrl = qiNiuPictureBaseUrl;
    }

    public String getLocalPictureBaseUrl() {
        return localPictureBaseUrl;
    }

    public void setLocalPictureBaseUrl(String localPictureBaseUrl) {
        this.localPictureBaseUrl = localPictureBaseUrl;
    }

    public String getStartEmailNotification() {
        return startEmailNotification;
    }

    public void setStartEmailNotification(String startEmailNotification) {
        this.startEmailNotification = startEmailNotification;
    }

    public Integer getEditorModel() {
        return editorModel;
    }

    public void setEditorModel(Integer editorModel) {
        this.editorModel = editorModel;
    }

    public String getThemeColor() {
        return themeColor;
    }

    public void setThemeColor(String themeColor) {
        this.themeColor = themeColor;
    }

    public String getMinioEndPoint() {
        return minioEndPoint;
    }

    public void setMinioEndPoint(String minioEndPoint) {
        this.minioEndPoint = minioEndPoint;
    }

    public String getMinioAccessKey() {
        return minioAccessKey;
    }

    public void setMinioAccessKey(String minioAccessKey) {
        this.minioAccessKey = minioAccessKey;
    }

    public String getMinioSecretKey() {
        return minioSecretKey;
    }

    public void setMinioSecretKey(String minioSecretKey) {
        this.minioSecretKey = minioSecretKey;
    }

    public String getMinioBucket() {
        return minioBucket;
    }

    public void setMinioBucket(String minioBucket) {
        this.minioBucket = minioBucket;
    }

    public Integer getUploadMinio() {
        return uploadMinio;
    }

    public void setUploadMinio(Integer uploadMinio) {
        this.uploadMinio = uploadMinio;
    }

    public String getMinioPictureBaseUrl() {
        return minioPictureBaseUrl;
    }

    public void setMinioPictureBaseUrl(String minioPictureBaseUrl) {
        this.minioPictureBaseUrl = minioPictureBaseUrl;
    }

    public Integer getOpenDashboardNotification() {
        return openDashboardNotification;
    }

    public void setOpenDashboardNotification(Integer openDashboardNotification) {
        this.openDashboardNotification = openDashboardNotification;
    }

    public Integer getContentPicturePriority() {
        return contentPicturePriority;
    }

    public void setContentPicturePriority(Integer contentPicturePriority) {
        this.contentPicturePriority = contentPicturePriority;
    }

    public Integer getOpenEmailActivate() {
        return openEmailActivate;
    }

    public void setOpenEmailActivate(Integer openEmailActivate) {
        this.openEmailActivate = openEmailActivate;
    }

    public String getDashboardNotification() {
        return dashboardNotification;
    }

    public void setDashboardNotification(String dashboardNotification) {
        this.dashboardNotification = dashboardNotification;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", qiNiuAccessKey=").append(qiNiuAccessKey);
        sb.append(", qiNiuSecretKey=").append(qiNiuSecretKey);
        sb.append(", email=").append(email);
        sb.append(", emailUserName=").append(emailUserName);
        sb.append(", emailPassword=").append(emailPassword);
        sb.append(", smtpAddress=").append(smtpAddress);
        sb.append(", smtpPort=").append(smtpPort);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", qiNiuBucket=").append(qiNiuBucket);
        sb.append(", qiNiuArea=").append(qiNiuArea);
        sb.append(", uploadQiNiu=").append(uploadQiNiu);
        sb.append(", uploadLocal=").append(uploadLocal);
        sb.append(", picturePriority=").append(picturePriority);
        sb.append(", qiNiuPictureBaseUrl=").append(qiNiuPictureBaseUrl);
        sb.append(", localPictureBaseUrl=").append(localPictureBaseUrl);
        sb.append(", startEmailNotification=").append(startEmailNotification);
        sb.append(", editorModel=").append(editorModel);
        sb.append(", themeColor=").append(themeColor);
        sb.append(", minioEndPoint=").append(minioEndPoint);
        sb.append(", minioAccessKey=").append(minioAccessKey);
        sb.append(", minioSecretKey=").append(minioSecretKey);
        sb.append(", minioBucket=").append(minioBucket);
        sb.append(", uploadMinio=").append(uploadMinio);
        sb.append(", minioPictureBaseUrl=").append(minioPictureBaseUrl);
        sb.append(", openDashboardNotification=").append(openDashboardNotification);
        sb.append(", contentPicturePriority=").append(contentPicturePriority);
        sb.append(", openEmailActivate=").append(openEmailActivate);
        sb.append(", dashboardNotification=").append(dashboardNotification);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}